package com.future.admin.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.future.admin.mapper.SysDictDetailsMapper;
import com.future.admin.service.SysDictDetailsService;
import com.future.common.api.admin.entry.SysDict;
import com.future.common.api.admin.entry.SysDictDetails;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * @ClassName : SysDictDetailsServiceImpl
 * @Author : lby
 * @Date: 2020/12/17 9:55
 * @Description :
 */
@Service
public class SysDictDetailsServiceImpl extends ServiceImpl<SysDictDetailsMapper, SysDictDetails> implements SysDictDetailsService {
    @Override
    public List<SysDictDetails> getDetails(SysDict sysDict) {
        return baseMapper.getDetails(sysDict);
    }

    @Override
    public int saveDetails(SysDictDetails sysDictDetails) {
        return baseMapper.saveDetails(sysDictDetails);
    }

    @Override
    public Boolean insertRevolation(SysDictDetails sysDictDetails) {
        return baseMapper.insertRevolation(sysDictDetails);
    }

    @Override
    public Boolean editDetails(SysDictDetails sysDictDetails) {
        return baseMapper.editDetails(sysDictDetails);
    }

    @Override
    public Boolean delDetails(SysDictDetails sysDictDetails) {
        return baseMapper.delDetails(sysDictDetails);
    }

    @Override
    public Boolean delRevolation(SysDictDetails sysDictDetails) {
        return baseMapper.delRevolation(sysDictDetails);
    }
}
